@charset "UTF-8";

html {
    fomt-famiily: '宋体';
}

body, ul, ol, li, p, h1, h2, h3, h4, h5, h6, form, fieldset, table, td, img, div, dl, dt, dd {
    margin: 0;
    padding: 0;
    border: 0;
}

body {
    background: #f7f7f7;
    color: #555;
    font-size: 18px;
    margin: 0 auto;
    max-width: 640px;
}

a, a:link, a:active, a:hover, a:visited {
    color: #555;
    text-decoration: none;
}

a[type=button] {
    color: #fff !important;
}

input[type=text], textarea {
    border-radius: 5px;
    border: 1px solid #e3e3e3;
    background: #fff;
    -webkit-appearance: none;
}

@media only screen and (max-width:310px) and (min-width:300px){body{font-size:10px}}
@media only screen and (max-width:320px) and (min-width:310px){body{font-size:10px}}
@media only screen and (max-width:360px) and (min-width:320px){body{font-size:12px}}
@media only screen and (max-width:360px) and (min-width:350px){body{font-size:12px}}
@media only screen and (max-width:480px) and (min-width:360px){body{font-size:14px}}
@media only screen and (max-width:480px) and (min-width:470px){body{font-size:14px}}
@media only screen and (max-width:560px) and (min-width:480px){body{font-size:16px}}
@media only screen and (max-width:570px) and (min-width:560px){body{font-size:16px}}
@media only screen and (max-width:640px) and (min-width:570px){body{font-size:18px}}
@media only screen and (max-width:640px) and (min-width:630px){body{font-size:18px}}

ul, li, dl, dt, dd, p, h1, h2, h3, h4, h5, form, img, div {
    margin: 0;
    padding: 0;
    list-style: none;
    border: 0 none;
}

.clearfix {
    clear: both;
    overflow: hidden;
    height: auto;
}

/* 全局公共样式的设定 */
li {
    list-style-type: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: normal;
}

/*顶部高度*/
.YP-header {
    top: 0;
    position: fixed;
    z-index: 999;
    max-width: 640px;
    width: 100%;
    background: #00a0e9;
    height: 40px;
    line-height: 40px;
}

.YP-header span {
    font-size: 18px;
    color: #FFF;
}

.YP-header i {
    font-size: 40px;
    color: #FFF;
}

.YP-header .pull-left {
    padding-left: 15px;
    padding-top: 6px;
}

.YP-header .pull-right {
    padding-right: 15px;
    padding-top: 6px;
}

/*banner效果*/
.focus {
    width: 100%;
    height: auto;
    position: relative;
    overflow: hidden;
}

.focus .hd {
    width: 100%;
    height: 0.8em;
    position: absolute;
    z-index: 1;
    text-align: center;
    bottom:0.5em;
}

.focus .hd ul {
    display: inline-block;
    height: 0.8em;
}

.focus .hd ul li {
    display: inline-block;
    width: 0.6em;
    height: 0.6em;
    text-indent:-999em;
    background: rgba(255, 255, 255, 0.8);
    margin: 0 0.3em;
    vertical-align: top;
    overflow: hidden;
    border-radius: 100%;
    -moz-border-radius: 100%;
    -webkit-border-radius: 100%;
    -o-border-radius: 100%;
}

.focus .hd ul .on {
    background: #ea4b35;
}

.focus .bd {
    position: relative;
    z-index: 0;
}

.focus .bd li {
    height: auto;
    overflow: hidden;
}

.focus .bd li img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0; padding: 0;
}

/*快速导航*/
.YP-row-nav {
    border-bottom:1px #e3e3e3 solid;
    background:#FFF;
    margin-top:0;
}

.YP-row-nav li {
    border:1px #e3e3e3 solid;
    padding:0.8em 0;
    border-left:none;
    border-bottom:none;
}

.YP-row-nav a:nth-child(4n) li {
    border-right:none;
}

.YP-row-nav li i, .YP-row-nav li img {
    font-size: 32px;
    width:100%;
    overflow:hidden;
    display:block;
}

.YP-row-nav li p {
    margin-top: 16px;
}

.YP-row-nav li img {
    width: 30px;
    display: block;
    margin: 0 auto;
}

/* 用户中心 */
.user-info {
    overflow: hidden;
    padding: 1em;
    width: 100%;
    background: url(../images/icons/logo.png);
    position: relative;
    box-sizing: border-box;
}

.user-info .user-img i {
    font-size: 4em;
    padding: 0.1em;
    background: #f1f1f1;
    border-radius: 8px;
    color: #aaa;
}

.user-info dl {
    margin-left: 0.6em;
    color: #fff;
}

.user-info dl dt h4 {
    font-size: 1.5em;
}


/* 单品页面 */
.goods-header {
    height: auto;
    padding: 8px 0 6px;
    overflow: hidden;
    border-top: 1px solid #f2f2f2;
    background-color: #fff
}

.goods-header .title {
    font-weight: 400;
    margin: 0;
    padding: 0 10px;
    font-size: 16px;
    line-height: 22px;
    text-align: left
}

.goods-price {
    padding: 5px 10px 2px;
    text-align: left;
}

.current-price {
    color: #f60;
    display: inline-block;
    font-size: 14px;
}

.current-price>span {
    display: inline-block;
    vertical-align: middle;
}

.current-price .price {
    display: inline-block;
    vertical-align: middle;
    font-size: 20px;
}

.goods-price i {
    font-weight: bold;
    font-style: normal;
    font-size: 20px;
    vertical-align: baseline;
}

hr {
    margin: 0;
    border: 0px none;
    border-top: 1px solid #eee;
}

hr.with-margin {
    margin: 0 10px;
}

.sku-detail {
    position: relative;
    margin-bottom: 5px;
    line-height: 20px;
    font-size: 14px;
    background-color: #fff;
    border-top: 1px solid #f0f0f0;
    border-bottom: 1px solid #f0f0f0;
}

.sku-detail .sku-detail-inner {
    padding: 1px 10px;
}

.sku-detail .sku-group {
    position: relative;
    padding-top: 1px;
    margin-top: -1px;
}

.sku-detail .sku-group:after {
    content: '';
    position: absolute;
    top: 50%;
    right: 0;
    margin-top: -5px;
    width: 6px;
    height: 11px;
    background: url(../images/goods.png) no-repeat;
    background-position: -40px -18px;
    background-size: 58px 48px
}

.sku-detail .sku-group .sku-item {
    padding-right: 15px;
}
.sku-detail dl {
    margin: 8px 0;
    zoom: 1;
}

.sku-detail dt {
    float: left;
    color: #999;
}

.sku-detail dd {
    margin-left: 50px;
    display: block;
    word-wrap: break-word;
}

.block, .block-item, .name-card .detail a {
    display: block
}

.block, .block p, .block-item {
    overflow: hidden
}

.block-item {
    position: relative;
    padding: 10px;
    line-height: 22px;
    border: 0;
    -webkit-border-image: url(../images/border-line.png) 2 stretch;
    -moz-border-image: url(../images/border-line.png) 2 stretch;
    border-top: 2px solid #e5e5e5
}

.block {
    -webkit-border-image: url(../images/border-line.png) 2 stretch;
    -moz-border-image: url(../images/border-line.png) 2 stretch;
    border-top: 2px solid #e5e5e5;
    border-bottom: 2px solid #e5e5e5;
    margin: 10px 0;
    background-color: #fff;
    position: relative;
    font-size: 14px
}

.block.block-list {
    margin: 0;
    padding: 0 0 0 10px;
    list-style: none;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

.block-list>.block-item:first-child {
    border-top: 0 none;
}

.rz-item {
    padding-right: 16px;
    white-space: nowrap;
    font-size: 12px !important;
    color: #666 !important;
}

.rz-item::before,.goods-store.block-list .offline-store .offline-store-img {
    background-image: url(../images/goods.png);
    background-repeat: no-repeat;
    background-size: 58px 48px
}

.rz-item::before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    width: 13px;
    height: 13px;
    background-position: -18px -30px
}

.btn-3-1 {
    width: 33.3%;
    display: inline-block;
    padding: 0 3px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.btn {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    padding: 5px 4px;
    margin: 0;
    font-size: 12px;
    cursor: pointer;
    line-height: 18px;
    -webkit-appearance: none
}

.btn-3-1 .btn {
    width: 100%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.btn.btn-orange-dark {
    color: #fff;
    border-color: #f15a0c;
    background-color: #f15a0c
}

.bottom-fix {
    display: block;
    z-index: 100;
    position: fixed;
    bottom: 0;
    width: 100%;
    max-width: 640px;
    text-align: center;
    padding: 6px 7px;
    border-top: 1px solid #ccc;
    -webkit-box-shadow: 0 0 4px rgba(0,0,0,0.2);
    box-shadow: 0 0 4px rgba(0,0,0,0.2);
    background-image: -webkit-gradient(linear, left bottom, left top, from(rgba(226,227,231,0.33)), to(rgba(248,248,248,0.33)));
    background-image: -webkit-linear-gradient(bottom, rgba(226,227,231,0.33) 0%, rgba(248,248,248,0.33) 100%);
    background-image: -moz-linear-gradient(bottom, rgba(226,227,231,0.33) 0%, rgba(248,248,248,0.33) 100%);
    background-image: linear-gradient(to top, rgba(226,227,231,0.33) 0%, rgba(248,248,248,0.33) 100%);
    background-color: #fff;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 0
}

.bottom-fix .btn {
    font-size: 14px
}

.goods-detail {
    margin-top: 5px
}

.custom-richtext {
    padding: 10px 10px 0;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
    overflow: hidden;
    text-align: left;
    word-wrap: break-word;
    position: relative
}

.custom-richtext p {
    margin: 0 0 1em
}

.custom-richtext img {
    width: auto !important;
    background: 0 0;
    max-width: 100% !important;
    min-height: 1px;
    height: auto !important;
    vertical-align: middle
}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5) {
    .sku-layout .layout-title {
        border-bottom-width: 0px
    }
}

.sku-layout .layout-title {
    -webkit-border-images: url(../images/border-line.png) 2 stretch;
    -moz-border-images: url(../images/border-line.png) 2 stretch;
    border-bottom: 0px solid #e5e5e5;
    border-top-width: 0;
    position: static;
    padding: 8px 0 6px;
}

.sku-layout .layout-title {
    border-image: url(../images/border-line.png) 2 stretch;
}

.sku-box-shadow {
    -webkit-box-shadow: 0 -1px 14px rgba(0,0,0,.9);
    box-shadow: 0 -1px 14px rgba(0,0,0,.9);
}

.name-card {
    margin-left: 0;
    width: auto;
    padding: 5px 0;
    overflow: hidden;
}

.name-card.sku-name-card .thumb {
    width: 40px;
    height: 40px;
    margin: 2px 0 0 10px;
}

.name-card .thumb {
    width: 60px;
    height: 60px;
    float: left;
    margin-left: auto;
    margin-right: auto;
    background-size: cover;
    position: relative;
    overflow: hidden;
}

.name-card.sku-name-card .thumb img {
    height: 40px;
}

.name-card .thumb img {
    position: absolute;
    margin: auto;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.name-card .detail {
    margin-left: 55px;
    width: auto;
    position: relative;
}

.sku-layout .layout-title .goods-base-info .title {
    padding-right: 45px;
    line-height: 22px;
}

.name-card .detail p {
    position: relative;
    font-size: 12px;
    line-height: 16px;
    white-space: nowrap;
    margin: 0 0 2px;
    color: #ccc;
}

.ellipsis {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.c-black {
    color: #333 !important;
}

.sku-layout .layout-title .goods-base-info .goods-price {
    padding: 0 55px 0 0;
}

.goods-price {
    padding: 5px 10px 2px;
    text-align: left;
}

.sku-layout .layout-title .goods-base-info .goods-price .current-price {
    line-height: 20px;
}

.current-price {
    color: #f60;
    display: inline-block;
    font-size: 14px;
}

.pull-left {
    float: left;
}

.sku-layout .layout-title .goods-base-info .goods-price .current-price .price-name {
    padding-top: 1px;
}

.current-price>span {
    display: inline-block;
    vertical-align: middle;
}

.font-size-14 {
    font-size: 14px !important;
}

.c-orange {
    color: #f60 !important;
}

.sku-layout .vertical-middle {
    vertical-align: middle;
}

.current-price .price {
    display: inline-block;
    vertical-align: middle;
    font-size: 20px;
}

.goods-price i {
    font-weight: bold;
    font-style: normal;
    font-size: 20px;
    vertical-align: baseline;
}

.font-size-18 {
    font-size: 18px !important;
}

.clearfix:after {
    content: "";
    display: table;
    clear: both;
}

.sku-layout .sku-cancel {
    position: absolute;
    right: 3px;
    top: 2px;
    padding: 10px;
}

.sku-layout .sku-cancel .cancel-img {
    height: 27px;
    width: 27px;
    background-image: url(../images/showcase.png);
    background-position: -13px -229px;
    background-repeat: no-repeat;
}

@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min--moz-device-pixel-ratio: 1.5), only screen and (min-device-pixel-ratio: 1.5) {
    .sku-layout .model-list li.active::after {
        background-image: url(../images/showcase.png);
        background-position: -1px -282px;
        background-size: 40px auto
    }
}

.sku-layout .layout-content {
    overflow-y: scroll;
    border: 1px solid #fff;
    line-height: 20px;
    background-color: #fff;
}

.sku-layout .layout-content .goods-models {
    padding: 1px 10px;
}

.block.block-list {
    margin: 0;
    padding: 0 0 0 10px;
    list-style: none;
    font-size: 14px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.sku-layout .layout-content .goods-models>dl {
    padding: 7px 0 4px;
}

.sku-layout .block-item:first-child {
    border-top: 0 none;
}

.sku-layout .block-item {
    border: 0;
    -webkit-border-images: url(../images/border-line.png) 2 stretch;
    -moz-border-images: url(../images/border-line.png) 2 stretch;
    border-top: 2px solid #e5e5e5;
}

.sku-layout .model-title {
    padding-top: 3px;
    font-size: 13px;
}

.sku-layout .model-list {
    zoom: 1;
    padding-left: 0;
    margin-bottom: 0;
}

.block-item ul {
    padding-right: 50px;
}

.sku-layout .model-list li {
    position: relative;
    margin-right: 10px;
    min-width: 32px;
    max-width: 180px;
    line-height: 16px;
    padding: 6px 9px;
    margin-bottom: 10px;
}

.sku-layout .model-list li.active::after {
    content: ' ';
    position: absolute;
    bottom: -1px;
    right: -1px;
    background: url(../images/showcase.png) 1 -283px no-repeat;
    height: 12px;
    width: 12px;
}

.sku-tag.tag-orangef60 {
    color: #f60;
    border-color: #f60;
    border: 1px solid #f60;
    border-radius: 3px;
    text-align: center;
    font-size: 12px;
}

.sku-tag.tag {
    color: #000;
    border-color: #999;
}

.tag {
    background-color: transparent;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    font-size: 12px;
    line-height: 12px;
    padding: 4px;
}

.sku-layout .model-list:after {
    content: "";
    display: table;
    clear: both;
}

.sku-layout .layout-content .goods-models>dl {
    padding: 7px 0 4px;
}

@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min--moz-device-pixel-ratio:1.5),only screen and (min-device-pixel-ratio:1.5) {
    .sku-layout .block-item {
        border-top-width: 1px
    }
}

.sku-layout .block-item {
    border: 0;
    -webkit-border-images: url(../images/border-line.png) 2 stretch;
    -moz-border-images: url(../images/border-line.png) 2 stretch;
    border-top: 1px solid #e5e5e5;
}

.block-item {
    position: relative;
    padding: 10px;
    line-height: 22px;
    border: 0;
    -webkit-border-images: url(../images/border-line.png) 2 stretch;
    -moz-border-images: url(../images/border-line.png) 2 stretch;
    border-top: 2px solid #e5e5e5;
    overflow: hidden;
}

.sku-layout .layout-content .goods-models>dl .sku-num {
    width: 15%;
    line-height: 42px;
}

.sku-layout .model-title {
    padding-top: 3px;
    font-size: 13px;
}

.sku-layout .quantity {
    float: right;
    margin-top: 10px;
}

.quantity {
    font-size: 0;
    position: relative;
}

.quantity, .tag {
    display: inline-block;
}

.quantity, .quantity .txt, .quantity button, .sku-layout .vertical-middle {
    vertical-align: middle;
}

.sku-layout .quantity .minus, .sku-layout .quantity .plus {
    width: 37px;
    height: 29px;
    background-color: #fff;
    border: 1px solid #999;
}

.sku-layout .quantity .minus {
    border-radius: 2px 0 0 2px;
}

.quantity .minus {
    position: relative;
    border-radius: 4px 0 0 4px;
    border-right: 0 none;
}

.quantity button {
    border: 2px solid #eee;
    font-size: 16px;
    line-height: 10px;
    font-weight: 700;
    color: #666;
    padding: 5px;
    outline: 0!important;
    width: 26px;
    height: 30px;
    text-indent: -9999px;
    overflow: hidden;
    margin: 0;
    text-align: center;
}

.quantity button, .sku-layout .vertical-middle {
    vertical-align: middle;
}

.quantity .minus.disabled::before, .quantity .plus.disabled::after, .quantity .plus.disabled::before {
    background-color: #ddd;
}

.quantity .minus::before {
    position: absolute;
}

.quantity .minus::before, .quantity .plus::before {
    width: 8px;
    height: 2px;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #6c6c6c;
    bottom: 0;
    content: '';
}

.sku-layout .quantity .txt {
    width: 33px;
    height: 25px;
    padding: 1px;
    border: 1px solid #999;
    border-width: 1px 0;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

.quantity .txt {
    font-size: 14px;
    width: 24px;
    height: 18px;
    border-radius: 0;
}

.quantity .txt, .quantity button, .tag {
    margin: 0;
    text-align: center;
}

.quantity .txt {
    -webkit-tap-highlight-color: transparent;
    vertical-align: middle;
}

.sku-layout .quantity .plus {
    width: 37px;
    height: 29px;
    background-color: #fff;
    border: 1px solid #999;
}

.sku-layout .quantity .plus {
    border-radius: 0 2px 2px 0;
}

.quantity .plus {
    position: relative;
    border-left: 0 none;
    border-radius: 0 4px 4px 0;
}

.quantity .plus::before {
    position: absolute;
}

.quantity .minus::before, .quantity .plus::before {
    width: 8px;
    height: 2px;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    background-color: #6c6c6c;
    bottom: 0;
    content: '';
}

.quantity .plus::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    content: '';
    width: 2px;
    height: 8px;
    background-color: #6c6c6c;
}

.quantity .response-area-minus {
    left: -5px;
}

.quantity .response-area-plus {
    right: -5px;
}

.quantity .response-area {
    width: 42px;
    height: 42px;
    top: -7px;
    position: absolute;
}

.sku-layout .layout-content .goods-models>dl .stock {
    line-height: 42px;
    padding-right: 7px;
}

.pull-right {
    float: right;
}

.sku-layout .layout-content .content-foot {
    padding: 10px;
    font-size: 0;
}

.sku-layout .layout-content .content-foot .half-button:last-child {
    padding-left: 5px;
}

.sku-layout .layout-content .content-foot .half-button:first-child {
    padding-right: 5px;
    text-align: center;
}

.sku-layout .layout-content .content-foot .half-button {
    margin: auto;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 50%;
}

.btn.btn-block {
    width: 100%;
    padding: 11px 10px;
    font-size: 16px;
    line-height: 16px;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.btn.btn-orange-dark {
    color: #fff;
    border-color: #f15a0c;
    background-color: #f15a0c;
}

.btn {
    display: inline-block;
    background-color: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 3px;
    padding: 5px 4px;
    margin: 0;
    font-size: 12px;
    cursor: pointer;
    line-height: 18px;
    -webkit-appearance: none;
}

/*背景遮罩样式*/
#BgDiv{
    background-color: rgba(0, 0, 0, 0.8);
    position:absolute;
    z-index:99;
    left:0;
    top:0;
    display:none;
    width:100%;
    height:1000px;
    opacity:0.5;
    filter: alpha(opacity=50);
    -moz-opacity: 0.5;
}

/*******
 * 登录
 ******/

.wx_margin_top {
    margin-top: 15px;
    border-top: 1px solid #dedede;
}

.add_passenger_con {
    /*padding-left: 10px;*/
    background-color: #fff;
    border-bottom: 1px solid #dedede;
}

.add_passenger_con li {
    /*padding-right: 15px;*/
    padding-left: 10px;
    list-style: none;
    height: 44px;
    border-bottom: 1px solid #dedede;
}

.add_passenger_con li span {
    width: 80px;
    line-height: 44px;
    font-size: 16px;
    float: left;
}

.add_passenger_con li input {
    width: 150px;
    height: 30px;
    margin-top: 7px;
    font-size: 16px;
    border: 0;
    outline: 0;
    float: left;
}

.add_passenger_con li input {
    width: 120px;
    height: 30px;
    margin-top: 7px;
    font-size: 16px;
    border: 0;
    outline: 0;
    float: left;
    -webkit-appearance: none;
}

.wx_margin_top li .reg_get_yzm {
    width: 30%;
    float: right;
    text-align: center;
    border-left: 1px solid #dedede;
}

.wx_margin_top li .reg_get_yzm button {
    width: 100%;
    height: 40px;
    line-height: 40px;
    padding: 0;
    background: none repeat scroll 0 0 #fff;
    text-align: center;
    border: 0;
    font: 16px arial,宋体;
}
